import request from '@/utils/request'
export default{
    //查询用户个人信息
    getUserInfo(id){
        return request({
            url: '/educenter/ucenter-member/getUserInfo',
            method: 'get'
        })
    },

    //查询该用户的所有订单
    getOrdersByUserId(){
        return request({
            url: '/eduorder/order/getOrdersByUserId',
            method: 'get'
        })
    }
    

}